package org.oop1.jicheng;

public class Cats extends MyPet{
	String weight;
	public Cats(String name,int age,String color,String weight){
		super(name,age,color);
		this.weight = weight;
	}
	public void cathMouse(){
		System.out.println("一只小猫名字叫："+this.getName()+"，颜色是"+this.getColor()+"，年龄是"+this.getAge()+"岁，体重大约在"+this.weight+"正在捉老鼠");
	}
}
